<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class User_model extends CI_Model
{
    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }

    function get_feeds_by_user_id($user_id)
    {
        $query = $this->db->get('feed', $user_id);
        return $query->result();
    }
}

/* End of file user.php */
/* Location: ./application/models/user.php */